// var host = "http://yourendian.tiaocheng-tech.com/";
// var host = "http://yrd.huazhi-tech.com/";
var host = "http://114.55.65.219/";

var app = host + 'app/';
var wap = host + 'wap/';
var URL = {
    /*----crh----*/
    getHomeData: app +'home/index',
    changeFavor: app +'favor/change',
    getUserinfo: app + 'user/getUserInfo',
    getSubshopinfo: app + 'member/mySubShops',
    getSubmemberinfo: app + 'member/mySubMembers',
    getAccounts: app +'account/getAccounts',
    delAccount: app +'account/delAccount',
    addAccount: app +'account/addAccount',
    updPassword: app +'account/updPassword',
    updLoginPassword: app +'user/updPassword',
    sendCode: app +'user/sendCode',
    updUserInfo: app +'user/updUserInfo',
    getMembers: app +'user/getMembers',
    login:app + 'user/login',
    codelogin:app + 'user/codelogin',
    coderegister:app + 'user/codeRegister',
    getLevelInfo:app + 'level/getInfo',
    addMemberEdit:app + 'level/addMemberEdit',
    addShopEdit:app + 'level/addShopEdit',
    upMemberEdit:app + 'level/upMemberEdit',
    oauthLogin:app + 'user/oauthLogin',
    oauthRegister:app + 'user/oauthRegister',
    getBindInfos:app + 'user/getBindInfos',
    oauthBind:app + 'user/oauthBind',
    reactive:app + 'member/reactive',
    prepay:app + 'order/prepay',
    pay:app + 'order/pay',
    returnDeposit:app + 'user/returnDeposit',
    getWithdrawTotal:app + 'withdraw/total',
    withdraw:app + 'withdraw/apply',
    getWithdrawDetail:app + 'withdraw/detail',
    getMessages:app + 'message/getMessages',
    readAllMessage:app + 'message/readAllMessage',
    deleteAllMessage:app + 'message/deleteAllMessage',
    specialExtend:app + 'member/specialExtend',
    myExtend:app + 'member/myExtend',
    myProfit:app + 'member/myProfit',
    getHelpList:app + 'essay/getHelpList',
    shareQrcode:app + 'member/shareQrcode',
    openEssayWeb:wap + 'home/essay_detail',
    isInviteCodeValid:app + 'user/isInviteCodeValid',
    sendFeedback:app + 'feedback/send',
    getInviteCode:app + 'user/getInviteCode',
    verifyCode:app + 'user/verify',
    dealTaobaoOrder:app + 'order/dealTaobaoOrder',
    about_us:wap + 'home/about_us',
    readOneMessage:app + 'message/readOneMessage',
    OauthCancelBind:app + 'user/OauthCancelBind',
    myProfitByMonth:app + "member/myProfitByMonth",
    preRegister:app + "user/preRegister",



    /*----wwj----*/
    getCategoryList: app +"searchcategory/getCategorysLevel1",
    getCategorysBy1: app +"searchcategory/getCategorysLevel2By1",
    searchGoods: app +"search/searchGoods",
    baseData : app + "init/getBaseData",
    myfavors: app +"favor/myFavors",
    updMyFavors: app +"favor/updMyFavors",
    getMyOrders: app +"order/getMyOrders",
    getOrderById: app +"order/getOrderById",
    register: app + "user/register",
    forgetPwd: app + "user/forgetPwd",
    dealOrders: app + "order/dealOrders",
    getHotKeys: app+  "init/getHotKeys",
    addOrder:app + "order/addOrder",
    myProfitList:app + "member/myProfitList",
    extendConsumeDetail:app + "member/extendConsumeDetail",
    myProfitDetail:app + "member/myProfitDetail",
    setPassword: app + "account/setPassword",
    getActivityCate: app + "home/getActivity",
    getShareGoods:app + "share/shareGoods",
    getGoodsInfo:app + "goods/getGoodsShareinfo",
    getSeckillList:app + "Seckill/index",
    getSeckillInfo:app + "Seckill/getSeckillInfo",
    changeRemind: app +"Seckill/changeRemind",
    getActivityList: app +"Activity/index",
    getSeckillGoodsInfo:app + "goods/getSeckillGoodsinfo",
    getMemberShopInfo:app + "membershop/getMemberShopInfo",
    changeGoodsState:app + "membershop/changeGoodsState",
    updCategoryInfo:app + "membershop/updCategoryInfo",
    getCategorygoodsInfo:app + "membershop/getCategorygoodsInfo",
    getCategorydetail:app + "membershop/getCategorydetail",
    getCategoryinfo:app + "membershop/getCategoryinfo",
    saveCategory:app + "membershop/saveCategory",
    saveCategoryGoods:app + "membershop/saveCategoryGoods",
    getShopGoodsInfo:app + "membershop/getShopGoodsInfo",
    updShopInfo: app +'membershop/updShopInfo',
    getShopInfo:app +'membershop/getShopInfo',
    getCategory:app +'membershop/getCategory',
    addGoods:app +'membershop/addGoods',
    getLibraryGoods:app +'membershop/getLibraryGoods',
    getAddMemberLevelInfo:app + 'level/getAddMemberLevelInfo',
    preAddMember:app + 'level/preAddMember',
    getMemberRate:app + 'member/getMemberRate',
    getShopUserrInfo:app + 'membershop/getShopUserrInfo',
    sendPhoneInfo:app + 'track/sendPhoneInfo',
    sendEvent:app + 'track/trackEvent',
    addVipgoods:app +'membershop/addVipgoods',
    getMycollect:app +'membershop/getMycollect',
};
